﻿@{
    ViewBag.Title = "Opening Times And Site Messages";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="/js/jquery.jeditable.min.js"></script>
<script src="~/js/intranet.js"></script>
<script>
    OpeningTimesAndSiteMessage.init();
</script>
<div class="container-fluid">
    <div class="row-fluid">
        <div id="opening-times-container">
            <h3>Opening Times</h3>
            <p>These are the opening times used by the site for showing things like the opening times graphic and the times in Opening Hours popups.</p>
            <div id="opening-times"></div>
            <input type="button" id="save-opening-times" value="Save Changes to Opening Times" class="btn btn-primary" disabled="disabled">
        </div>
        <div id="site-messages-container">
            <h3>Site Messages</h3>
            <p>
                These are the messages that are specific to each website. They usually contain things 
                such as further information on opening times.
                <br />
                <b>NOTE: The css formatting shown here may not exactly match the formatting on each website.</b>
            </p>
            <div id="site-messages"></div>
        </div>

        <div id="emergency-site-message-container">
            <h3>Emergency Site Message</h3>
            <p>
                This is for use in "emergency" situations where a message is required to be shown on the frontpage
                of all websites at the same time. Click on the text to edit the HTML.
            </p>
            <div id="emergency-site-message"></div>
            <input type="button" id="save-emergency-site-message" value="Save Changes to Emergency Site Message" disabled="disabled" class="btn btn-primary" />
        </div>
        <div id="debug-box"></div>
    </div>
</div>
